package com.lijian.community.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

@Data
public class Notice {

    //把id设置为数据库自增，关闭mybatis-plus的自动生成id，如果数据库字段太长，接收不到会报错
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private Integer outerId;

    private Date createTime;

    private Integer type;

    /**
     * 消息通知接收着
     */
    private Integer userReceiver;

    /**
     *消息通知发出者
     */
    private Integer userNotifier;

    private Integer status;

    private String notifierName;

    private String outerTitle;
}
